﻿<UserControl x:Class="EarthWatchers.SL.GUI.Controls.BaseLayerControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" HorizontalAlignment="Left" VerticalAlignment="Top">
    
    <Grid x:Name="LayoutRoot" Width="100" Height="75" HorizontalAlignment="Left" VerticalAlignment="Top">
    	<StackPanel Margin="0">
    		<StackPanel Margin="0" Orientation="Horizontal" HorizontalAlignment="Center">
    			<Button Margin="0" Style="{StaticResource ImageButton}" ToolTipService.ToolTip="Remove Layer" HorizontalAlignment="Center" VerticalAlignment="Center">
    				<Image x:Name="btnSwitchLeft" MouseLeftButtonDown="BtnSwitchLeftMouseLeftButtonDown" Height="16" Source="/EarthWatchers.SL;component/Resources/Images/pan_left.png" Stretch="Fill" Width="16" HorizontalAlignment="Left" VerticalAlignment="Center" ToolTipService.ToolTip=""/>
    			</Button>
    			<Grid Height="50" Width="50" Margin="0,1,0,0">
    				<Image x:Name="layerImage" Width="50" Height="50"/>
    				<Rectangle Margin="-1" Stroke="Black"/>
    			</Grid>
    			<Button Margin="0" Style="{StaticResource ImageButton}" ToolTipService.ToolTip="Remove Layer" HorizontalAlignment="Center" VerticalAlignment="Center">
    				<Image x:Name="btnSwitchRight" MouseLeftButtonDown="BtnSwitchRightMouseLeftButtonDown" Height="16" Source="/EarthWatchers.SL;component/Resources/Images/pan_right.png" Stretch="Fill" Width="16" VerticalAlignment="Center" ToolTipService.ToolTip=""/>
    			</Button>
    		</StackPanel>
    		<TextBlock x:Name="txtLayerName" Margin="2" TextWrapping="Wrap" FontSize="10.667" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FFE4E4E4" FontWeight="Bold" FontFamily="Segoe WP Semibold"/>
    	</StackPanel>
    </Grid>
</UserControl>
